<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ page import="com.hz.supermanage.bean.HtmlBean,com.hz.supermanage.dao.Constants" %>
<%@page import="com.hz.supermanage.bean.Hzsyspersonnel,com.hz.supermanage.bean.GramaBean"%>
<%@ taglib uri="http://hanfeizi5237@163.com" prefix="hello"%>
<%
//Hzsyspersonnel user=(Hzsyspersonnel)request.getSession().getAttribute("admin_user");
//String userid = String.valueOf(user.getPersonid());

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <TITLE>部门人员管理</TITLE>
  <META http-equiv=Content-Type content=text/html;charset=UTF-8>
   <meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
<link href="${pageContext.request.contextPath}/parts/CSS/mail.css" rel="stylesheet" type="text/css">
<link href="${pageContext.request.contextPath}/parts/CSS/main.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/parts/CSS/base.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/parts/framejs/common/validate.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/parts/framejs/ajax/jsonPaging.js"></script>
<script type='text/javascript' src='${pageContext.request.contextPath}/dwr/interface/ajax.js'></script>
<script type='text/javascript' src='${pageContext.request.contextPath}/dwr/engine.js'></script>
<script type='text/javascript' src='${pageContext.request.contextPath}/dwr/util.js'></script>
<script src="${pageContext.request.contextPath}/parts/itemjs/supermanage/setup/Juice.js"></script>
<script src="${pageContext.request.contextPath}/parts/itemjs/supermanage/setup/TreeMouseMenu.js"></script>
<script src="${pageContext.request.contextPath}/parts/itemjs/supermanage/setup/Control.js"></script>
<script src="${pageContext.request.contextPath}/parts/itemjs/supermanage/setup/Emp.js"></script>
<script src="${pageContext.request.contextPath}/parts/itemjs/supermanage/setup/Search.js"></script>
<script src="${pageContext.request.contextPath}/parts/itemjs/supermanage/setup/MessageMgr.js"></script>
<style type="text/css">
.treeCb {
	font-family: Tahoma;
	padding:0px;
	height:0px;
	font-size:13px;
	width:15px;
	height:15px;
	margin-left:2px;
}
.NodeName {
  font-size:13px;
}
.NodeName span,div{
  font-size:13px;
}
</style>
</head>
<body >
<form action="${pageContext.request.contextPath}" name="dep" method="post">
<%@ include file="inc/include.jsp" %>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
    <td >
    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="MainBody">
        <tr>
          <td class="MainBody_title">综合系统管理-组织人员与角色权限</td>
        </tr>
		<tr>
          <td class="MainBody_body">
          	<%-- 组织单位页面代码开始  --%>
<div style='padding:0 0 0 0;width:99%;'>
<table width='100%'>
<tr><td valign=top style="width:260px" >

<%=HtmlBean.getSmoothBegin()%>
<img src="${pageContext.request.contextPath}/parts/images/img/search.gif" alt="搜索" align=absmiddle>名称：
<input type='text' class='ip_text' name=keyTree style='width:100px;height:18' onkeyup=doTreeKeyDown()>&nbsp;
<img src="${pageContext.request.contextPath}/parts/images/img/se.gif" alt="搜索节点" onclick="doTreeSearchGo()" style='cursor:hand' align=absmiddle>

<div tt.impl="FatherTree" tt.src="xml/org_xml.jsp" tt.instance=ATree id=COMP style='height:660;overflow-y:auto'></div>
<%=HtmlBean.getSmoothEnd()%>
</td>

<td valign='top' class="MainBody_td">
	<table border="0" cellpadding="0" cellspacing="0" class="MainBody_fun_tree" >
           <tr>
             <td>
             <table width=100% cellspacing=0 cellpadding=0 >
				<tr><td width="100%">
				当前用户列表为：<span id=domEmpFilterDesc style='color:red;' ></span>
				</td>
				<td><div style="width: 460px;">
				<img src="${pageContext.request.contextPath}/parts/images/img/usrmgr.gif" alt="搜索用户" align=absmiddle>
				    姓名：<input type=text class=ip_text name=keyName style='width:70px' onkeypress=doUserSearchKey()>
				    职务：<input type=text class=ip_text name=keyPost style='width:70px' onkeypress=doUserSearchKey()>
				<INPUT class="btn2" type="button" value="搜索用户" onclick="doEmpSearch()" style='cursor:hand'><%--
					&nbsp;&nbsp;<hello:Button className="btn2" type="button" value="增加用户" script="onclick='doAddEmployee()'" urlpage="增加用户"/>--%>
					<INPUT class="btn2" type="button" value="增加用户" onclick="doAddEmployee()" ><%--
					&nbsp;&nbsp;<hello:Button className="btn2" type="button" value="角色管理" script="onclick='doRoleManage()'" urlpage="角色管理"/>--%>
					<INPUT class="btn2" type="button" value="角色管理" onclick="doRoleManage()" >
				</div></td></tr>
			</table>
             </td>
           </tr>
	</table>
      <!-- 人员信息列表 -->
	<table id="COMP" tt.impl="TableLister" name='EMPLister' tt.data.url="no" tt.lazy=true
	tt.link.id="tableJumpPage" tt.instance="EMPLister" class="MainBody_table2">
		<COL ALIGN=LEFT width=12%>
		<COL ALIGN=LEFT width=8%>
		<COL ALIGN=LEFT width=20%>
		<COL ALIGN=CENTER width=15%>
		<COL ALIGN=CENTER width=15%>
		<COL ALIGN=CENTER width=10%>
		<COL ALIGN=CENTER width=20%>
		<tr style="background-image: url('${pageContext.request.contextPath}/parts/images/bg.gif');background-color: #FFFFFF;height: 22">
			<th align=center style="text-align: center;">姓名</th>
			<th align=center style="text-align: center;">性别</th>
			<th align=center style="text-align: center;">部门</th>
			<th align=center style="text-align: center;">职务</th>
			<th align=center style="text-align: center;">手机号码</th>
		    <th align=center style="text-align: center;">联系电话</th>
			<th align=center style="text-align: center;">操作</th>
		</tr>
		<tr class="MainBody_table" align="center" id="jsonTr" style="display:none;cursor: hand;" tt.empid="<%--=TBLEXIUser.EMPID--%>">
			<td><input type="hidden" name="personid" val="personid" /><input type="text" name="personname" val="personname" readonly style="width:100%;background:none;border: none;text-align: center;cursor: hand" /></td>
			<td><input type="text" name="sex" val="sex" readonly style="width:100%;background:none;border: none;text-align: center" /></td>
			<td><input type="text" name="deptid" val="deptid" readonly style="width:100%;background:none;border: none;text-align: center" /></td>
			<td><input type="text" name="posid" val="posid" readonly style="width:100%;background:none;border: none;text-align: center" /></td>
			<td><input type="text" name="mobiletelephone" val="mobiletelephone" readonly style="width:100%;background:none;border: none;text-align: center" /></td>
			<td><input type="text" name="telephone" val="telephone" readonly style="width:100%;background:none;border: none;text-align: center" /></td>
			<td><SCRIPT>document.writeln(doCreateOperation('', ''));</SCRIPT>
			<%--<hello:Button className="RoleSpan" type="span" value="调动" script="onclick='doDiaoDong(this)' onmouseout='doMsOut()' onmouseover='doMsOver()'" other="val='personid' value='' type='text' title='调动'" urlpage="调动"/>
				<hello:Button className="RoleSpan" type="span" value="修改" script="onclick='doEmpEdit(this)' onmouseout='doMsOut()' onmouseover='doMsOver()'" other="val='personid' value='' type='text' title='修改'" urlpage="修改"/>
				<hello:Button className="RoleSpan" type="span" value="删除" script="onclick='doEmpDel(this)' onmouseout='doMsOut()' onmouseover='doMsOver()'" other="val='personid' value='' type='text' title='删除'" urlpage="删除"/>
				<hello:Button className="RoleSpan" type="span" value="权限" script="onclick='doEmpPermission(this)' onmouseout='doMsOut()' onmouseover='doMsOver()'" other="val='personid' value='' type='text' title='权限'" urlpage="权限"/>--%>
		</td>
		</tr>
	</table>
    <div id="paging" style="width: 100%;overflow: hidden;" >&nbsp;</div></td>
</tr></table>
<!--end left right frame -->
</div>
<%-- 组织单位页面代码结束  --%>
          </td>
        </tr>
      </table>
      </td>
      </tr>
      </table>
</form>
 </body>
</html>
